package com.shujia.bean;

import java.io.Serializable;

public class Comment implements Serializable {
    private String id;
    private String date;
    private Long likeCount;
    private String userId;
    private String text;


    public Comment() {
    }

    public Comment(String id, String date, Long likeCount, String userId, String text) {
        this.id = id;
        this.date = date;
        this.likeCount = likeCount;
        this.userId = userId;
        this.text = text;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id='" + id + '\'' +
                ", date='" + date + '\'' +
                ", likeCount=" + likeCount +
                ", userId='" + userId + '\'' +
                ", text='" + text + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Long getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
